package com.deng.springboot.demo.web.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author 邓力宾
 * @date 2020/3/1017:01
 * @Description: 数据传输对象
 */
@Data
@ApiModel("用户信息提交对象")
public class UserDto implements BaseDto {

    @ApiModelProperty(value = "id", required = true)
    private Long id;
    @ApiModelProperty(value = "信息", name = "msg", required = true)
    private String msg;
    @ApiModelProperty(value = "本地日期", example = "2020-03-10")
    private LocalDate localDate;
    @ApiModelProperty(value = "本地时间", example = "2020-03-10 12:34:34")
    private LocalDateTime localDateTime;
    @ApiModelProperty(value = "日期", example = "2020-03-10")
    private Date date;
}
